<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .d1{
            width:300px;
            height: 200px;
            border:1px solid red;
            margin-bottom: 30px;
        }
        .d2{
            width:300px;
            height: 200px;
            border:1px solid blue;
            margin-top:20px;
        }
    </style>
</head>
<body>
    <div class="d1"></div>
    <div class="d2"></div>
</body>
</html>